package com.lzx.shop.service;

import com.lzx.shop.dataobject.StoreDO;
import com.lzx.shop.params.StoreParam;

import java.util.List;

/**
 * @author 刘正星
 * @version 1.0.0
 * @ClassName StoreService.java
 * @Description TODO
 * @createTime 2021年03月22日 23:57:00
 */
public interface StoreService {

    boolean save(StoreDO object);

    List<StoreDO> findAll();

    StoreDO findById(String id);

    boolean update(StoreDO object);

    boolean DeleteById(String id);

    /**
     * 多字段模糊查询
     * @param param
     * @return
     */
    List<StoreDO> search(StoreParam param);

    StoreDO query(StoreParam  param);
}
